home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 351-375 / disk_352 / treewalk / makefile < prev    next >
Makefile  |  1992-05-06  |  1KB  |  36 lines

  1. #
  2. # Copyright (C) 1989  Mike Meyer
  3. #
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 1, or any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16.  
  17. CFLAGS = -Asr -O
  18.  
  19. OBJS = main.o treewalk.o filter.o magic.o
  20.  
  21. treewalk: $(OBJS)
  22.     cc $(CFLAGS) -o treewalk $(OBJS)
  23.  
  24. # Test version of the treewalk routine.
  25. treetest: treewalk.c treewalk.h
  26.     cc -g -DTEST treewalk.c -o treetest
  27.  
  28. # willfit command based on treewalkk
  29. willfit: willfit.o treewalk.o lib:s-expand.o
  30.     cc $(CFLAGS) -o willfit lib:s-expand.o willfit.o treewalk.o
  31.  
  32. willfit.o main.o treewalk.o: treewalk.h
  33.  
  34. clean:
  35.     rm $(OBJS) treewalk du.o
  36.